home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / DEV / A-B / 004.TubeTest.cpt / CTubeTest.make < prev    next >
Text File  |  1988-08-01  |  2KB  |  55 lines

  1. #
  2. #    Macintosh Developer Technical Support
  3. #
  4. #    Simple Color QuickDraw Animation Sample Application
  5. #
  6. #    TubeTest
  7. #
  8. #    TubeTest.make    -    Make Source
  9. #
  10. #    Copyright © 1988 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.0                    8/88
  14. #
  15. #    Components:    TubeTest.p            August 1, 1988
  16. #                TubeTest.c            August 1, 1988
  17. #                TubeTest.r            August 1, 1988
  18. #                PTubeTest.make        August 1, 1988
  19. #                CTubeTest.make        August 1, 1988
  20. #
  21. #    The TubeTest program is a simple demonstration of how to use the Palette 
  22. #    Manager in a color program.  It has a special color palette that is associated
  23. #    with the main window.  The colors are animated using the Palette Manager 
  24. #    to give a flowing tube effect.  The program is very simple, and the Palette
  25. #    Manager and drawing parts are put in separate subroutines to make it easier
  26. #    to figure out what is happening.
  27. #    
  28. #    The program is still a complete Macintosh application with a Main Event Loop,
  29. #    so there is the extra code to run the MEL.  
  30. #    
  31. #    There is a resource file that is necessary as well, to define the Menus, Window,
  32. #    Dialog, and Palette resources used in the program.  
  33. #
  34. #    See Sample and TESample for the general structure and MultiFinder techniques that
  35. #    we recommend that you use when building a new application.
  36. #
  37. # MPW 3.0 and later: We override the default COptions to turn on strict prototyping;
  38. #    add '-r' to your UserStartup when you tire of the warning from Make.
  39. # If you are using MPW 3.0 or later, uncomment the following line:
  40. #COptions = -r
  41. # For MPW 2.0 we use the following line so that the the complete interfaces are there:
  42. COptions = -d __ALLNU__
  43.  
  44. CObjs            =    TubeTest.c.o ∂
  45.                     "{Libraries}"Interface.o ∂
  46.                     "{CLibraries}"CRuntime.o ∂
  47.                     "{CLibraries}"CInterface.o
  48.  
  49. CTubeTest        ƒƒ    {CObjs} CTubeTest.make
  50.         Link -o {Targ} {CObjs}
  51.         SetFile {Targ} -t APPL -c '????'
  52.  
  53. CTubeTest        ƒƒ    TubeTest.r CTubeTest.make
  54.         Rez -rd -o {Targ} TubeTest.r -append
  55.